package com.wyj.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyj.pojo.YlrcRole;
import com.wyj.pojo.YlrcRoleAuthorities;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author mac
* @description 针对表【ylrc_role】的数据库操作Mapper
* @createDate 2022-11-18 21:05:04
* @Entity generator.domain.YlrcRole
*/
@Mapper
public interface YlrcRoleMapper extends BaseMapper<YlrcRole> {

    //查询角色有权限的菜单
    List<Map<String,Object>> getRoleMenus (int id);


    List<Map<String,Object>> getRoleAndUsers(String username);
}
